/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.insa.pendu;

/**
 *
 * @author strokyl
 */
class Score {
	public final static int DEP = 9;
	private int score;

	public Score() {
		this.score = DEP;
	}



	public void dec() {
		this.score = this.score--;
	}

	public boolean isNull() {
            return (this.score == 0);
	}

	public void printCoupRestant() {
            System.out.println(Integer.toString(this.score));
        }
	
}
